home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
8bitfiles.net/archives
/
archives.tar
/
archives
/
commodore-users-of-norman
/
CUON_21_(10-1984).d64
/
sound - bomb
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2019-04-13
|
449b
|
27 lines
10 REM >>> BOMB SOUND EFFECT <<<
20 :
30 PRINT"[147] HIT ANY KEY FOR BOMB"
40 PRINT" ( * TO END PGM )"
50 GET A$ : IF A$="" THEN 50
60 IF A$="*" THEN 90
70 GOSUB 1000 : REM SOUND SUBROUTINE
80 GOTO 30
90 FOR X=1TO 24: POKE 54272+X,0: NEXT
100 END
110 :
1000 REM ** SOUND SUBROUTINE **
1010 :
1020 S=54272
1030 POKE S+24,7
1040 POKE S+5,12*16+0
1050 POKE S+6,15*16+10
1060 FOR X= 255 TO 100STEP -1
1070 POKE S+1,X
1080 POKE S+4,17
1090 FOR D=1 TO 10 : NEXT D
1100 NEXT X
1110 POKE S+24,15
1120 POKE S+1,15
1130 POKE S+4,128
1140 RETURN